<?php 

Route::group(['middleware' => 'wechat.oauth','namespace' => 'View\User'],function(){
	Route::get('index','UserController@index');

	Route::get('online','UserController@online');

	Route::group(['middleware' => 'user.register'],function() {
		Route::get('info','UserController@info');
	});

	Route::group(['middleware' => 'user.is.register'],function() {
		Route::get('register','UserController@register');
	});
});